module.exports = () => {
  return {
    plugins: {
      autoprefixer: {},
      "postcss-px-to-viewport": {
        viewportWidth: 375, // (Number) 视口的宽度.
        viewportHeight: 1334, // (Number) 视口的高度.
        unitPrecision: 3, // (Number) 单位精度：允许REM单位增长的十进制数.
        viewportUnit: "vw", // (String) 期望的单位.
        exclude: [],
        selectorBlackList: [".ignore", ".hairlines"], // (Array) 选择器忽略并保留黑名单.
        minPixelValue: 1, // (Number) 设置替换的最小像素.
        mediaQuery: false // 允许在媒体查询中转换px
      }
    }
  }
}
